import React from 'react'
import Controller from 'react-imvc/controller'
import * as Model from './Model'
import View from './View'

export default class extends Controller {
  View = View
  Model = Model
  preload = {
    'detail.css': '/css/detail.css',
    custom: '/page/home/style.css',
  }

  componentDidMount() {
    window.$controller = this
  }

  async fetch(url, options = {}) {
    try {
      let response = await super.fetch(url, options)
    } catch (error) {
      //
    }
  }
  fetchGetAggregateTrace() {

  }
}
